package com.ciaojian.core.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author Atlakyn
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("d_present_gift_record")
public class PresentGiftRecord extends Model<PresentGiftRecord> {
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("赠送人")
    private Integer fromId;

    @ApiModelProperty("接收人")
    private Integer receiveId;

    @ApiModelProperty("订单id")
    private Integer orderId;

    @ApiModelProperty("礼物类型")
    private Integer type;

    @ApiModelProperty("接收状态 0拒绝 1接收")
    private Integer status;

    private Date createTime;
    private Date updateTime;
}
